Time of Update: 2017-01-18
= ' \x '. $dtime [6]. $dtime [7]. ' \x '. $dtime [4]. $dtime [5]
. ' \x '. $dtime [2]. $dtime [3]. ' \x '. $dtime [0]. $dtime [1];
Eval (' $hexdtime = '. $hexdtime. '";');
if ($compact)
$FR = "\x50\x4b\x03\x04\x14\x00\x00\x00\x08\x00". $hexdtime;
else $fr = "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00". $hexdtime;
$unc _len = strlen ($data); $CRC = CRC32 ($data);
if ($compact) {
$zdata = gzcompress ($data); $c _len = strlen ($
Time of Update: 2013-10-16
]. '\ X'. $ dtime [2]. $ dtime [3].' \ x'. $ dtime [0]. $ dtime [1];Eval ('$ hexdtime = "'. $ hexdtime .'";');If ($ compact)$ Fr = "\ x50 \ x4b \ x03 \ x04 \ x14 \ x00 \ x00 \ x00 \ x08 \ x00". $ hexdtime;Else $ fr = "\ x50 \ x4b \ x03 \ x04 \ x0a \ x00 \ x00 \ x00 \ x00 \ x00". $ hexdtime;$ Unc_len = strlen ($ data); $ crc = crc32 ($ data );If ($ compact ){$ Zdata = gzcompress ($ data); $ c_len = strlen ($ zdata
Time of Update: 2016-07-21
("V", 0). Pack ("V", 0). Pack ("V", 0). Pack ("V", strlen ($name));
$cdrec. = Pack ("V", 0). Pack ("V", 0). Pack ("V", 0). Pack ("V", 0);
$ext = "\xff\xff\xff\xff";
$cdrec. = Pack ("V", +). Pack ("V", $this-Old_offset). $name;
$this-ctrl_dir[] = $cdrec;
$this-old_offset = $new _offset;
$this-dirs[] = $name;
}
function Add_file ($data, $name, $compact = 1)
{
$name = str_replace (' \ \ ', '/', $name);
$dtime = Dechex ($this->dostime ());
$hexdtime = ' \x '. $dtime [6]. $dtime [7]. ' \x '. $dtime
Time of Update: 2013-04-22
, $ name, $ compact = 1)
{
$ Name = str_replace ('\', '/', $ name );
$ Dtime = dechex ($ this-> DosTime ());
$ Hexdtime = '\ X'. $ dtime [6]. $ dtime [7].' \ X'. $ dtime [4]. $ dtime [5]
. '\ X'. $ dtime [2]. $ dtime [3].' \ X'. $ dtime [0]. $ dtime [1];
Eval ('$ hexdtime = "'. $ hexdtime .'";');
If ($ compact)
$ Fr = "\ x50 \ x4b \ x03 \ x04 \ x14 \ x00 \ x00 \ x00 \ x08 \ x00". $ hexdtime;
Else $ fr = "\ x50 \ x4b \ x03 \ x04 \ x0a \ x00 \ x00 \ x00 \ x00 \ x00". $ hexdtime;
$ Unc_len = strlen
Time of Update: 2016-07-29
\x00". $hexdtime;
$unc _len = strlen ($data); $CRC = CRC32 ($data);
if ($compact) {
$zdata = gzcompress ($data); $c _len = strlen ($zdata );
$zdata = substr (substr ($zdata , 0, strlen ($zdata )-4), 2);
}else{
$zdata = $data;
}
$c _l
Time of Update: 2018-12-05
". $ hexdtime;Else $ Fr = "/x50/x4b/x03/x04/x0a/x00/x00/x00/x00/x00". $ hexdtime;$ Unc_len = strlen ($ data); $ CRC = CRC32 ($ data );
If ($ compact ){$ Zdata = gzcompress ($ data); $ c_len = strlen ($ zdata );$ Zdata = substr ($ zdata , 0, strlen ($ zdata )-4), 2 );} Else {$
Time of Update: 2018-04-05
];
Eval ('$ hexdtime = "'. $ hexdtime .'";');
If ($ compact)
$ Fr = "\ x50 \ x4b \ x03 \ x04 \ x14 \ x00 \ x00 \ x00 \ x08 \ x00". $ hexdtime;
Else $ fr = "\ x50 \ x4b \ x03 \ x04 \ x0a \ x00 \ x00 \ x00 \ x00 \ x00". $ hexdtime;
$ Unc_len = strlen ($ data); $ crc = crc32 ($ data );
If ($ compact ){
$ Zdata = gzcompress ($ data); $ c_len = strlen ($ zdata );
$ Zdata
Time of Update: 2016-07-29
("", $this->datasec));$cdrec = "\x50\x4b\x01\x02\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00";$cdrec. = Pack ("V", 0). Pack ("V", 0). Pack ("V", 0). Pack ("V", strlen ($name));$cdrec. = Pack ("V", 0). Pack ("V", 0). Pack ("V", 0). Pack ("V", 0);$ext = "\xff\xff\xff\xff";$cdrec. = Pack ("V", +). Pack ("V", $this-Old_offset). $name;$this-ctrl_dir[] = $cdrec;$this-old_offset = $new _offset;$this-dirs[] = $name;}function Add_file ($data, $name, $compact = 1){$name = str_replace (' \ \ ', '/', $
Time of Update: 2018-03-16
= "\ x50 \ x4b \ x03 \ x04 \ x14 \ x00 \ x00 \ x00 \ x08 \ x00". $ hexdtime;Else $ fr = "\ x50 \ x4b \ x03 \ x04 \ x0a \ x00 \ x00 \ x00 \ x00 \ x00". $ hexdtime;$ Unc_len = strlen ($ data); $ crc = crc32 ($ data );If ($ compact ){$ Zdata = gzcompress ($ data); $ c_len = strlen ($ zdata );$ Zdata = substr ($ zdata , 0,
Time of Update: 2017-05-13
('$ hexdtime = "'. $ hexdtime .'";');If ($ compact)$ Fr = "\ x50 \ x4b \ x03 \ x04 \ x14 \ x00 \ x00 \ x00 \ x08 \ x00". $ hexdtime;Else $ fr = "\ x50 \ x4b \ x03 \ x04 \ x0a \ x00 \ x00 \ x00 \ x00 \ x00". $ hexdtime;$ Unc_len = strlen ($ data); $ crc = crc32 ($ data );If ($ compact ){$ Zdata = gzcompress ($ data); $ c_len = strlen ($ zdata );$ Zdata = substr (
Time of Update: 2017-05-13
'. $ dtime [4]. $ dtime [5]. '\ X'. $ dtime [2]. $ dtime [3].' \ X'. $ dtime [0]. $ dtime [1];Eval ('$ hexdtime = "'. $ hexdtime .'";');If ($ compact)$ Fr = "\ x50 \ x4b \ x03 \ x04 \ x14 \ x00 \ x00 \ x00 \ x08 \ x00". $ hexdtime;Else $ fr = "\ x50 \ x4b \ x03 \ x04 \ x0a \ x00 \ x00 \ x00 \ x00 \ x00". $ hexdtime;$ Unc_len = strlen ($ data); $ crc = crc32 ($ data );If ($ compact ){$ Zdata = gzcompress ($ data); $ c_len = strlen ($
Time of Update: 2016-07-21
) {
$zdata = gzcompress ($data); $c _len = strlen ($zdata );
$zdata = substr (substr ($zdata , 0, strlen ($zdata )-4), 2);
}else{
$zdata = $data;
}
$c _len=strlen ($zdata );
$fr. = Pack ('
Time of Update: 2016-07-21
\x00\x00\x00\x00\x00". $hexdtime;
$unc _len = strlen ($data); $CRC = CRC32 ($data);
if ($compact) {
$zdata = gzcompress ($data); $c _len = strlen ($zdata );
$zdata = substr (substr ($zdata , 0, strlen ($zdata )-4), 2);
}else{
$zdata
Time of Update: 2017-01-13
'] = 0 return ( $timearray [ ' year ' ]- 1980 ) () | ( $timearray [ ' mon ' ] ] | ( $timearray [ ' mday ' ] " ] | ( $timearray [ ' hours ' ] all ) | ( $timearray [ ' minutes ' ] 5 ) | ( $timearray [ ' seconds ' ]>> 1 );}function addfile($data, $name, $time = 0 ){ $name = str_replace(' \ \', '/ ' , $name ); $dtime = dechex($this -> Unix2dostime($time )); $hexdtime = ' \x ' . $dtime [6]. $dtime [7 ]. ' \x ' . $dtime [4]. $dtime [
Time of Update: 2017-01-19
file to the ZIP compression package.
function AddFile ($data, $name)
{
$name = str_replace (' \ \ ', '/', $name);
if (STRRCHR ($name, '/') = = '/')
return $this->adddir ($name);
if (!empty ($this->filefilters))
{
if (!in_array (Explode (".", $name)), $this->filefilters))
{
Return
}
}
$dtime = Dechex ($this->unix2dostime ());
$hexdtime = ' \x '. $dtime [6]. $dtime [7]. ' \x '. $dtime [4]. $dtime [5]. ' \x '. $dtime [2]. $dtime [3]. ' \x '. $dtime [0]. $dtime [1];
Eval (' $hexdtime
Time of Update: 2017-01-19
contents
* @param string name of the file in the archive (may contains the path)
* @param integer The current timestamp
*
* @access Public
*/
function AddFile ($data, $name, $time = 0)
{
$name = str_replace (' \ \ ', '/', $name);
$dtime = Dechex ($this->unix2dostime ($time));
$hexdtime = ' \x '. $dtime [6]. $dtime [7]
. ' \x '. $dtime [2]. $dtime [3]
. ' \x '. $dtime [0]. $dtime [1];
Eval (' $hexdtime = '. $hexdtime. '";');
$FR = "\x50\x4b\x03\x04";
$fr. = "\x14\x00"; Ver nee
Time of Update: 2017-01-19
'] = 1;
$timearray [' hours '] = 0;
$timearray [' minutes '] = 0;
$timearray [' seconds '] = 0;
}//End If
Return (($timearray [' Year ']-1980) ($timearray [' hours '] }
function AddFile ($data, $name, $time = 0) {
$name = Str_replace ('//', '/', $name);
$dtime = Dechex ($this->unix2dostime ($time));
$hexdtime = '/x '. $dtime [6]. $dtime [7]
. '/x '. $dtime [4]. $dtime [5]
. '/x '. $dtime [2]. $dtime [3]
. '/x '. $dtime [0]. $dtime [1];
Eval (' $hexdtime = '. $hexdtime. '";');
$FR
Time of Update: 2017-01-18
_zip_path;
$path = $temp _path;
Closedir ($handle);
}
}
function Unix2dostime ($unixtime = 0) {
$timearray = ($unixtime = = 0)? GETDATE (): getdate ($unixtime);
if ($timearray [' Year '] $timearray [' year '] = 1980;
$timearray [' mon '] = 1;
$timearray [' mday '] = 1;
$timearray [' hours '] = 0;
$timearray [' minutes '] = 0;
$timearray [' seconds '] = 0;
}
Return (($timearray [' Year ']-1980) ($timearray [' hours '] }
function AddFile ($data, $name, $time = 0) {
$name = str_rep
Time of Update: 2017-05-13
";$ Fr. = "\ x08 \ x00 ";$ Fr. = $ hexdtime;$ Unc_len = strlen ($ data );$ Crc = crc32 ($ data );$ Zdata = gzcompress ($ data );$ C_len = strlen ($ zdata );$ Zdata = substr ($ zdata , 0, strlen ($ zdata )-4), 2 );$ Fr. = pack ('v', $ crc );$ Fr. = pack ('v', $ c_len );$ Fr. =
Time of Update: 2017-05-13
('', '/', $ name );
$ Dtime = dechex ($ this-> unix2DosTime ($ time ));
$ Hexdtime = 'x'. $ dtime [6]. $ dtime [7]
. 'X'. $ dtime [4]. $ dtime [5]
. 'X'. $ dtime [2]. $ dtime [3]
. 'X'. $ dtime [0]. $ dtime [1];
Eval ('$ hexdtime = "'. $ hexdtime .'";');
$ Fr = "x50x4bx03x04 ";
$ Fr. = "x14x00"; // ver needed to extract
$ Fr. = "x00x00"; // gen purpose bit flag
$ Fr. = "x08x00"; // compression method
$ Fr. = $ hexdtime; // las